/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package bdcgen.controleur;

/**
 *
 * @author Simon
 */
public class Declencheur {

    public final static byte ENREGISTRER_BDC = 1;
    
    public final static byte RECHERCHER_BDC = 2;
    
    public final static byte MODIFIER_BDC = 3;
    
    public final static byte GENERER_ODT = 4;
//        Valeur du type selon le scenario à lancer.
    private byte type;
    private Object details;
    
    public Declencheur(byte type,Object details) {
//        Constructeur avec le type de scenario et les details nécessaire pour le lancer.
        this.type = type;
        this.details = details;
    }
    
    public byte getType() {
        return type;
    }

    public Object getDetails() {
        return details;
    }
    
}
